﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.Identity;

namespace Edu.Entitys
{
    public class AppTeacher : FullAuditedAggregateRoot<Guid>
    {

        public Guid UserId
        {
            get;
            set;
        }

        [NotMapped]
        public AppUser User
        {
            get;
            set;
        }

        [NotMapped]
        public IdentityUser IdentityUser
        {
            get;
            set;
        }

        /// <summary>
        /// 加入的年
        /// </summary>
        public int JoinYear
        {
            get;
            set;
        }

        /// <summary>
        /// 加入的季度
        /// </summary>
        public int JoinQuarter
        {
            get;
            set;
        }


        public int Rating
        {
            get;

            set;
        }

        /// <summary>
        /// 暂时无用
        /// </summary>
        public int Rank
        {
            get;
            set;
        }

        public JobType Job
        {
            get;
            set;
        }

    }
}